package com.duoec.magichour.mapper;

import com.duoec.magichour.core.BaseMapper;
import com.duoec.magichour.pojo.ArticleProduct;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ArticleProductMapper extends BaseMapper<ArticleProduct, Long> {
    /**
     * 获取文章关联的商品
     * @param articleId
     * @return
     */
    List<ArticleProduct> getArticleProducts(@Param("articleId") long articleId);
}